package com.chuangsi.project.admin.dto.admin.plan;

import com.chuangsi.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PlanSetReqDto{

    @ApiModelProperty(value = "部门id")
    @NotNull(message = "部门id不能为空")
    private Long deptId;

    @ApiModelProperty(value = "年月 格式（2025-03）")
    @NotBlank(message = "年月不能为空")
    private String ym;

    @ApiModelProperty(value = "金额目标")
    @NotNull(message = "金额目标不能为空")
    private BigDecimal moneyGoal;

    @ApiModelProperty(value = "数量目标")
    @NotNull(message = "数量目标不能为空")
    private BigDecimal numGoal;

}
